﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ElingOA6_DSJCJ.Common
{
    public class GlobalConstant
    {
        /// <summary>
        /// 登录ID变量名
        /// </summary>
        public static readonly string PARAM_LOGINID = "LogID";

        /// <summary>
        /// 员工编号
        /// </summary>
        public static readonly string PARAM_FEMPLNO = "FEmplNo";
        /// <summary>
        /// 用户名称变量名
        /// </summary>
        public static readonly string PARAM_USERNAME = "UserName";
        /// <summary>
        /// 员工部门编码(主岗位所在的部门)
        /// </summary>
        public static readonly string PARAM_DEPTNO = "FDeptNo";
        /// <summary>
        /// 员工部门(主岗位所在的部门)
        /// </summary>
        public static readonly string PARAM_DEPTNAME = "FDeptName";
        /// <summary>
        /// 公司编码
        /// </summary>
        public static readonly string ENTITYNO = System.Configuration.ConfigurationManager.AppSettings["EntityNo"];
        /// <summary>
        /// 虚拟路径名称
        /// </summary>
        public static readonly string DUMMYPATH = System.Configuration.ConfigurationManager.AppSettings["DummyPath"];
        /// <summary>
        /// 验证码变量名
        /// </summary>
        public static readonly string PARAM_YZM = "Verification";
        /// <summary>
        /// 系统名称
        /// </summary>
        public static readonly string CONSTRING_SYSTITLE = "宁波市地方税务局稽查局";
        /// <summary>
        /// Grid表格分页的每页记录数
        /// </summary>
        public static readonly int CONSTRING_PAGESIZE = 15;

        public static readonly string PARAM_PRVFUNCTIONLIST = "PrvFunctionList";

        /// <summary>
        /// 部门岗位管理中保存相应的岗位
        /// </summary>
        public static readonly string PARAM_DEPTPOSITION = "DeptPosition";

        /// <summary>
        /// FCK控件用户名称
        /// </summary>
        public static readonly string PARAM_PRODUCTCAPTION = "ProductCaption";

        /// <summary>
        /// 系统年度
        /// </summary>
        public static readonly string PARAM_SYSYEAR = "SysYear";

        /// <summary>
        /// FCK控件用户序列号
        /// </summary>
        public static readonly string PARAM_PRODUCTKEY = "ProductKey";
        /// <summary>
        /// 下拉框中未选择选项的显示值
        /// </summary>
        public static readonly string COMBO_NOCHOOSE_TEXT = "---选择---";
        /// <summary>
        /// 下拉框中未选择选项的Value
        /// </summary>
        public static readonly string COMBO_NOCHOOSE_VALUE = "-1";
        /// <summary>
        /// 当前建立连接的对象(一个对象多个连接)
        /// </summary>
        public static Dictionary<string, List<string>> CLIENT_LIST = new Dictionary<string, List<string>>();
        /// <summary>
        /// 当前建立连接的对象的对应session的值列表
        /// </summary>
        public static Dictionary<string, string> SESSION_USER_LIST = new Dictionary<string, string>();
        /// <summary>
        /// 前台显示内容中的图片的最大宽度
        /// </summary>
        public static readonly int IMG_SHOW_MAXWIDTH = 600;
    }
}